package com.ruoyi.eqmonitor.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.eqmonitor.domain.OptSewagePump;
import com.ruoyi.eqmonitor.domain.OptSewagePumpRange;
import com.ruoyi.eqmonitor.mapper.OptSewagePumpMapper;
import com.ruoyi.eqmonitor.mapper.OptSewagePumpRangeMapper;
import com.ruoyi.eqmonitor.service.IOptDeviceService;
import com.ruoyi.eqmonitor.service.IOptSewagePumpRangeService;
import com.ruoyi.eqmonitor.service.IOptSewagePumpService;
import com.ruoyi.eqmonitor.utils.Constant;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;

/**
 * 污水厂与泵站服务范围Service业务层处理
 *
 * @author ruoyi
 * @date 2022-12-16
 */
@Service
public class OptSewagePumpRangeServiceImpl extends ServiceImpl<OptSewagePumpRangeMapper, OptSewagePumpRange> implements IOptSewagePumpRangeService {

    @Override
    public List<OptSewagePumpRange> selectOptSewagePumpRangeList(OptSewagePumpRange optSewagePumpRange){
        return baseMapper.selectOptSewagePumpRangeList(optSewagePumpRange);
    }

    @Override
    public OptSewagePumpRange selectOptSewagePumpRangeById(Integer id){
        return baseMapper.selectOptSewagePumpRangeById(id);
    }
}
